package com.cskaoyan.javase.basic._4operator._3shift;

/**
 * @description: 移位运算符
 * @author: wuguidong@cskaoyan.onaliyun.com
 **/

public class Demo {
    public static void main(String[] args) {
        int a = 10;
        System.out.println(a << 100);

        int b = 15;
        System.out.println(b >> 1);


        //Math是一个类,和String类似,它里面包含了数学计算相关的变量,方法
        //System.out.println(Math.pow(10, 2));

    }
}
